<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>PC通讯录</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-store, must-revalidate">
    <meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
    <meta http-equiv="expires" content="-1">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="refresh" content="1200">
    <link rel="shortcut icon" href="/dist/img/icon.png" type="image/x-icon">
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="/dist/plugins/bootstrap/css/bootstrap.min.css">
    <!--字体-->
    <link rel="stylesheet" href="/dist/css/font-awesome.min.css">
    <!--图标-->
    <link rel="stylesheet" href="/dist/css/ionicons.min.css">
    <link rel="stylesheet" href="/dist/plugins/fixedTable/fixed-table.css"/>
    <!--OA主样式-->
    <link rel="stylesheet" href="/dist/css/OA.min.css?t=86e2297f">
    <link rel="stylesheet" href="/dist/css/skins/OA-skins.min.css?t=222aea35">
    <style>
        .table > tbody > tr > td {
            height: 48px;
            max-height: 44px;
            overflow: hidden;
        }

        .table > tbody > tr > td span {
            max-height: 44px;
            line-height: 22px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

        .saveModle {
            width: 500px;
            height: 300px;
            position: fixed;
            top: 50%;
            left: 50%;
            margin-left: -250px;
            margin-top: -150px;
            background: #fff;
            border-radius: 10px;
            z-index: 1978;
            display: none;
            border: 1px solid #cfcfcf;
        }

        .saveModle .top {
            height: 34px;
            line-height: 34px;
            font-size: 14px;
            font-weight: bold;
            color: #333;
            padding-left: 7px;
            border-bottom: 1px solid #cfcfcf;
            background: #fff;
        }

        .saveModle .top .title {
            height: 32px;
            line-height: 32px;
            font-size: 14px;
            font-weight: bold;
            color: #333;
            float: left;
            background: #fff;
        }

        .saveModle .top .btn {
            font-size: 20px;
            width: 34px;
            height: 22px;
            line-height: 12px;
            display: inline-block;
            float: right;
        }

        .saveModle .top .btn:hover {
            color: red;
        }

        .saveModle .saveBtn {
            margin: 0 auto;
            margin-top: 35px;
            display: block;

        }

        .lineOne {
            text-align: left;
        }

        .lineOne span {
            max-height: 20px;
            line-height: 20px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            text-align: left;
        }

        /*a:link {*/
        /*text-decoration: none;*/
        /*color: #fff;*/
        /*}*/
        a {
            text-decoration: none;
            color: #fff;
        }

        a:active {
            text-decoration: none;
            color: #2a8cec;
        }

        .wraper {
            padding: 5px 8px 0px 8px;
        }

        .content {
            padding: 0;
        }

        #nav {
            display: -webkit-box;
            /*overflow-y: hidden;*/
            -webkit-overflow-scrolling: touch;
            height: 34px;
            /*background: #2a8cec;*/
            width: 100%;
            /*padding-left: 5px;*/
            display: flex;
            justify-content: flex-start;
            max-height: 34px;
            line-height: 14px;
            border-bottom: 1px solid #989898;
        }

        #nav li {
            list-style: none;
            padding: 10px;
        }

        .list {
            /*border: 1px solid #D7D7D7;*/
            border-left: none;
        }

        .dropdown-menu {
            display: none;
        }

        .slide-box {
            display: -webkit-box;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            height: 34px;
            line-height: 34px;
            /*background: #2a8cec;*/
            width: 100%;
            padding-left: 5px;
        }

        .rights {
            text-align: center;
            color: #000;
            font-size: 14px;
            margin-top: 5px;
            cursor: pointer;
            line-height: 22px;
            padding: 4px 10px 3px 10px;

        }

        .lefts {
            text-align: center;
            color: #fff;
            height: 29px;
            line-height: 22px;
            background: #228bee;
            z-index: 999;
            padding: 4px 15px 3px 15px;
            border-top-left-radius: 3px;
            border-top-right-radius: 3px;
        }

        .content {
            padding: 0px;
        }
     </style>
</head>
<body>
<iframe id="ifExprot" style="width:0px;height:0px;display: none;" frameborder="0"></iframe>
<section class="content" id="app" v-cloak>
    <div class="div-td-content-more"><i></i></div>
    <div class="wraper">
        <div id="nav" style="margin: 0px;">
            <div class="rights" @click="changeModel('来电记录')">
                <span :class="showModel=='来电记录'?'lefts':'rights'">来电记录</span>
            </div>
            <div class="rights" @click="changeModel('报修单')">
                <span :class="showModel=='报修单'?'lefts':'rights'">报修单</span>
            </div>
            <div class="rights" @click="changeModel('整机咨询单')">
                <span :class="showModel=='整机咨询单'?'lefts':'rights'">整机咨询单</span>
            </div>
            <div class="rights" @click="changeModel('配件咨询单')">
                <span :class="showModel=='配件咨询单'?'lefts':'rights'">配件咨询单</span>
            </div>
            <div class="rights" @click="changeModel('其他')">
                <span :class="showModel=='其他'?'lefts':'rights'">其他</span>
            </div>
        </div>
        <iframe name="List" class="list iframeHkc" style="overflow-y: hidden;flex: 1;width: 100%;" frameborder="0"
                src="callList.html" id="iframeBox">
        </iframe>
    </div>
</section>
<!--JQ-->
<!--插件JS-->
<script src="https://file.ggxqce.com/web/jquery-2.2.3.min.js"></script>
<script>window.jQuery || document.write('<script src="/dist/plugins/jQuery/jquery-2.2.3.min.js"><\/script>', '<script src="/dist/plugins/bootstrap/js/bootstrap.min.js"><\/script>', '<script src="/dist/plugins/vue/vue.min.js"><\/script>')</script>
<script src="/dist/plugins/jQuery/jquery.cookie.min.js"></script>
<script src="https://file.ggxqce.com/web/bootstrap.min.js"></script>
<script src="https://file.ggxqce.com/web/vue.min.js"></script>
<!--框架已定义 JS-->
<script src="/dist/js/app_iframe.js?t=0b5caf39"></script>
<!--oa自定义  JS-->
<script src="/dist/js/oa.js?t=0c4d95a9"></script>
<script type="text/javascript" src="/dist/plugins/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/dist/plugins/lhgdialog/lhgdialog.min.js?self=true"></script>
<script type="text/javascript">
    var app = new Vue({
        el: '#app',
        data: {
            showModel: "来电记录",
            modelHtml: {
                '来电记录': 'callList.html',
                '报修单': 'oldSampleList.html',
                '整机咨询单': 'businessList.html?type=machineConsultation',
                '配件咨询单': 'businessList.html?type=accessoriesConsultation',
                '其他': 'businessList.html?type=other',
            },
        },
        methods: {
            changeModel: function (name) {
                var that = this;
                that.showModel = name;
                var html = that.modelHtml[name]
                $("#iframeBox").attr("src", html);
            }
        },
        mounted: function () {

        }

    })
</script>
</body>
</html>